# !/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :main.py
# @Time      :2022/6/8 0008 19:48
# @Author    :何胜利
from celery import Celery

app = Celery("MyWorker", broker="redis://127.0.0.1:6379/5",
             backend="redis://127.0.0.1:6379/6")

app.autodiscover_tasks(["common.celery_tasks.send_tasks"])
